package nccloud.arap.bill.refer.filter;

import java.util.Map;

import nccloud.framework.web.processor.IRefSqlBuilder;
import nccloud.framework.web.processor.refgrid.RefQueryInfo;
import nccloud.framework.web.ui.meta.RefMeta;
import nccloud.pubitf.platform.db.SqlParameterCollection;

public class RqDefdocRefFiter implements IRefSqlBuilder{

	@Override
	public String getExtraSql(RefQueryInfo para, RefMeta paramRefMeta) {
		
		Map<String, String> queryCondition = para.getQueryCondition();
		
		String where = queryCondition.get("where");
		
		String addWPart = " and " + where;
		
		return addWPart;
	}

	@Override
	public SqlParameterCollection getExtraSqlParameter(RefQueryInfo arg0, RefMeta arg1) {
		return null;
	}

	@Override
	public String getOrderSql(RefQueryInfo arg0, RefMeta arg1) {
		return null;
	}

}
